package com.weasing.res.domain;

import java.sql.Timestamp;

/**
 * 日志实体类
 */

public class WxSyslog implements java.io.Serializable {

	private Integer id;
	/**
	 * 操作人员类型Integer---角色id
	 */
	private Integer operatortype;
	/**
	 * 操作人员id-Integer
	 */
	private Integer operatorid;
	/**
	 * 操作人员姓名-String
	 */
	private String truename;
	/**
	 * 操作内容说明-String
	 */
	private String comment;
	/**
	 * 操作类型 1 创建 2修改 3修改状态 4删除记录5登陆
	 */
	private Integer optype;
	/**
	 * 操作数据表
	 */
	private String opttable;
	/**
	 * 操作人ip
	 */
	private String optip;
	/**
	 * 关联ID，操作记录id
	 */
	private Integer relatid;
	/**
	 * 操作时间-Timestamp
	 */
	private Timestamp createtime;

	/**
	 * 创建时间---展现用String 
	 */
	private String createtimeStr;
	// Constructors


	/** default constructor */
	public WxSyslog() {
	}

	public String getCreatetimeStr() {
		return createtimeStr;
	}

	public void setCreatetimeStr(String createtimeStr) {
		this.createtimeStr = createtimeStr;
	}

	/** minimal constructor */
	public WxSyslog(Timestamp createtime) {
		this.createtime = createtime;
	}

	/** full constructor */
	public WxSyslog(Integer operatortype, Integer operatorid, String truename,
			String comment, Integer optype, String opttable, String optip,
			Integer relatid, Timestamp createtime) {
		this.operatortype = operatortype;
		this.operatorid = operatorid;
		this.truename = truename;
		this.comment = comment;
		this.optype = optype;
		this.opttable = opttable;
		this.optip = optip;
		this.relatid = relatid;
		this.createtime = createtime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOperatortype() {
		return this.operatortype;
	}

	public void setOperatortype(Integer operatortype) {
		this.operatortype = operatortype;
	}

	public Integer getOperatorid() {
		return this.operatorid;
	}

	public void setOperatorid(Integer operatorid) {
		this.operatorid = operatorid;
	}

	public String getTruename() {
		return this.truename;
	}

	public void setTruename(String truename) {
		this.truename = truename;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Integer getOptype() {
		return this.optype;
	}

	public void setOptype(Integer optype) {
		this.optype = optype;
	}

	public String getOpttable() {
		return this.opttable;
	}

	public void setOpttable(String opttable) {
		this.opttable = opttable;
	}

	public String getOptip() {
		return this.optip;
	}

	public void setOptip(String optip) {
		this.optip = optip;
	}

	public Integer getRelatid() {
		return this.relatid;
	}

	public void setRelatid(Integer relatid) {
		this.relatid = relatid;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}